package cn.wolfcode.wolf2w.redis.service;

import cn.wolfcode.wolf2w.domain.Strategy;
import cn.wolfcode.wolf2w.redis.vo.StrategyStatisVO;

import java.util.List;

public interface IStrategyStatisVORedisService {
    void increaseViewnum(String sid, int num);
    StrategyStatisVO getStrategyStatisVO(String sid);

    void increaseReplynum(String sid, int num);
   void setStrategyStatisVO(StrategyStatisVO vo);

    Boolean favor(String sid, String uid);

    List<String> findStrategyidsByuserId(String uid);

    Boolean strategyThumbup(String sid, String uid);


    boolean isVOExists(String sid);

    List<StrategyStatisVO> queryVoByPattern(String pattern);


    List<String> querySid(String uid);


    void getFavors(String usid, List<String> favors);

    Object getTodayView(String ownerId);

    Object getTodayView1(String ownerId);
}
